package com.example.member.api;


import com.example.member.api.model.MemberReq;
import com.example.member.api.model.MemberResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "svc-member", path = "/member")
public interface MemberClient {

    @PostMapping("/add")
    MemberResp addMember(@RequestBody MemberReq memberReq);
}
